package com.bigtree.controller.conf;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
public class R {
    private boolean flag;
    private Object data;

    public R(){}
    public R(boolean flag){
        this.flag=flag;
    }

    public R(Object data){
        this.flag=true;
        this.data=data;
    }
    public R(Boolean flag,Object data){
        this.flag=flag;
        this.data=data;
    }


}
